using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
using bitzhuwei.Compiler;

namespace bitzhuwei.AnsiCFormat {
    /// <summary>
    /// Correspond to the Vn node expression in the grammar(AnsiC).
    /// </summary>
    internal partial class Vnexpression : IFullFormatter {
        // [071]=expression : assignment_expression ;
        // [072]=expression : expression ',' assignment_expression ;


        private readonly TokenRange _scope;
        public TokenRange Scope => _scope;

        public void Format(TextWriter writer, FormatContext context) {
            throw new NotImplementedException();
        }

        public void FullFormat(BlankConfig preConfig, TextWriter writer, FormatContext context) {
            throw new NotImplementedException();
        }

        public IEnumerable<string> YieldTokens(TextWriter writer, FormatContext context) {
            throw new NotImplementedException();
        }
        // [71]=expression : assignment_expression ;
        // dumped by ListExtractor 1
        internal Vnexpression(Vnassignment_expression first0) {

        }
        // [72]=expression : expression ',' assignment_expression ;
        // dumped by ListExtractor 2
        internal void Add(
            Token r1/* reserved word is omissible */
            , Vnassignment_expression r0
        ) {

        }

    }
}
